package com.sinosoft.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author hyy85
 * @version 1.0
 * @date: 14/6/2018 下午 4:35<br/>
 * @description 轮播图Dto
 * @since 1.8
 */
@Entity
public class Carousel {

    @Id
    private Integer id;

    private String url;

    private String img;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "Carousel{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", img='" + img + '\'' +
                '}';
    }
}
